package com.hjxr.xmgl.web.domain;

import com.hjxr.framework.aspectj.lang.annotation.Excel;
import com.hjxr.sysadmin.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 预警指标配置明细对象 quota_early_warning_infos
 *
 * @author hjxr
 * @date 2021-12-02
 */
public class QuotaEarlyWarningInfos extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "主键ID")
    private String ewInfoId;

    /** 预警主表 */
    @Excel(name = "预警主表")
    private String ewId;

    /** 指标名称(中文) */
    @Excel(name = "指标名称(中文)")
    private String fieldName;

    /** 指标字段 */
    @Excel(name = "指标字段")
    private String field;

    /** 0:未设置预警 1:已设置预警 */
    @Excel(name = "0:未设置预警 1:已设置预警")
    private String type;

    /** 预警明细目标字段[{range:'范围定义',tipsModel:'需要提示的模型及字段',tips:'提示语',tipsColor:'颜色',remark:'备注'}] */
    @Excel(name = "预警明细目标字段[{range:'范围定义',tipsModel:'需要提示的模型及字段',tips:'提示语',tipsColor:'颜色',remark:'备注'}]")
    private String eqRangeJson;

    public void setEwInfoId(String ewInfoId)
    {
        this.ewInfoId = ewInfoId;
    }

    public String getEwInfoId()
    {
        return ewInfoId;
    }
    public void setEwId(String ewId)
    {
        this.ewId = ewId;
    }

    public String getEwId()
    {
        return ewId;
    }
    public void setFieldName(String fieldName)
    {
        this.fieldName = fieldName;
    }

    public String getFieldName()
    {
        return fieldName;
    }
    public void setField(String field)
    {
        this.field = field;
    }

    public String getField()
    {
        return field;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setEqRangeJson(String eqRangeJson)
    {
        this.eqRangeJson = eqRangeJson;
    }

    public String getEqRangeJson()
    {
        return eqRangeJson;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ewInfoId", getEwInfoId())
            .append("ewId", getEwId())
            .append("fieldName", getFieldName())
            .append("field", getField())
            .append("type", getType())
            .append("eqRangeJson", getEqRangeJson())
            .toString();
    }
}
